package CocoFood.DTO;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.List;

public class TisoPostingTO implements Serializable {

    private long id;
    private String postType;
    private long parentId;
    private int postSeqOrder;
    private String VNName;
    private String CNName;
    private String ENName;
    private String VNDescription;
    private String CNDescription;
    private String ENDescription;
    private long viewCount;
    private long enquiryContact;
    private Date expiredDate;
    private Date createdDate;
    private String createdBy;
    private Date modifiedDate;
    private String modifiedBy;
    private String remark;
    private String status;
    private String linkFrom;
    private HashMap<String, String> metas;
    private TisoPostingTO parentTO;
    private List<TisoMediaTO> listMediaTO;
    private TisoTaxonomyRelationshipTO rel;
    private TisoNamingTaxonomyTO tisoNamingTaxonomyTO;

    public TisoPostingTO() {
    }

    public TisoPostingTO(long id, String postType, long parentId, int postSeqOrder, String VNName, String CNName, String ENName, String VNDescription, String CNDescription, String ENDescription, long viewCount, long enquiryContact, Date expiredDate, Date createdDate, String createdBy, Date modifiedDate, String modifiedBy, String remark, String status, String linkFrom, HashMap<String, String> metas, TisoPostingTO parentTO, List<TisoMediaTO> listMediaTO, TisoTaxonomyRelationshipTO rel, TisoNamingTaxonomyTO tisoNamingTaxonomyTO) {
        this.id = id;
        this.postType = postType;
        this.parentId = parentId;
        this.postSeqOrder = postSeqOrder;
        this.VNName = VNName;
        this.CNName = CNName;
        this.ENName = ENName;
        this.VNDescription = VNDescription;
        this.CNDescription = CNDescription;
        this.ENDescription = ENDescription;
        this.viewCount = viewCount;
        this.enquiryContact = enquiryContact;
        this.expiredDate = expiredDate;
        this.createdDate = createdDate;
        this.createdBy = createdBy;
        this.modifiedDate = modifiedDate;
        this.modifiedBy = modifiedBy;
        this.remark = remark;
        this.status = status;
        this.linkFrom = linkFrom;
        this.metas = metas;
        this.parentTO = parentTO;
        this.listMediaTO = listMediaTO;
        this.rel = rel;
        this.tisoNamingTaxonomyTO = tisoNamingTaxonomyTO;
    }

    public TisoPostingTO(long id, String postType, long parentId, int postSeqOrder, String VNName, String CNName, String ENName, String VNDescription, String CNDescription, String ENDescription, long viewCount, long enquiryContact, Date expiredDate, Date createdDate, String createdBy, Date modifiedDate, String modifiedBy, String remark, String status, String linkFrom) {
        this.id = id;
        this.postType = postType;
        this.parentId = parentId;
        this.postSeqOrder = postSeqOrder;
        this.VNName = VNName;
        this.CNName = CNName;
        this.ENName = ENName;
        this.VNDescription = VNDescription;
        this.CNDescription = CNDescription;
        this.ENDescription = ENDescription;
        this.viewCount = viewCount;
        this.enquiryContact = enquiryContact;
        this.expiredDate = expiredDate;
        this.createdDate = createdDate;
        this.createdBy = createdBy;
        this.modifiedDate = modifiedDate;
        this.modifiedBy = modifiedBy;
        this.remark = remark;
        this.status = status;
        this.linkFrom = linkFrom;

    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getPostType() {
        return postType;
    }

    public void setPostType(String postType) {
        this.postType = postType;
    }

    public long getParentId() {
        return parentId;
    }

    public void setParentId(long parentId) {
        this.parentId = parentId;
    }

    public int getPostSeqOrder() {
        return postSeqOrder;
    }

    public void setPostSeqOrder(int postSeqOrder) {
        this.postSeqOrder = postSeqOrder;
    }

    public String getVNName() {
        return VNName;
    }

    public void setVNName(String VNName) {
        this.VNName = VNName;
    }

    public String getCNName() {
        return CNName;
    }

    public void setCNName(String CNName) {
        this.CNName = CNName;
    }

    public String getENName() {
        return ENName;
    }

    public void setENName(String ENName) {
        this.ENName = ENName;
    }

    public String getVNDescription() {
        return VNDescription;
    }

    public void setVNDescription(String VNDescription) {
        this.VNDescription = VNDescription;
    }

    public String getCNDescription() {
        return CNDescription;
    }

    public void setCNDescription(String CNDescription) {
        this.CNDescription = CNDescription;
    }

    public String getENDescription() {
        return ENDescription;
    }

    public void setENDescription(String ENDescription) {
        this.ENDescription = ENDescription;
    }

    public long getViewCount() {
        return viewCount;
    }

    public void setViewCount(long viewCount) {
        this.viewCount = viewCount;
    }

    public long getEnquiryContact() {
        return enquiryContact;
    }

    public void setEnquiryContact(long enquiryContact) {
        this.enquiryContact = enquiryContact;
    }

    public Date getExpiredDate() {
        return expiredDate;
    }

    public void setExpiredDate(Date expiredDate) {
        this.expiredDate = expiredDate;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getModifiedDate() {
        return modifiedDate;
    }

    public void setModifiedDate(Date modifiedDate) {
        this.modifiedDate = modifiedDate;
    }

    public String getModifiedBy() {
        return modifiedBy;
    }

    public void setModifiedBy(String modifiedBy) {
        this.modifiedBy = modifiedBy;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getLinkFrom() {
        return linkFrom;
    }

    public void setLinkFrom(String linkFrom) {
        this.linkFrom = linkFrom;
    }

    public HashMap<String, String> getMetas() {
        return metas;
    }

    public void setMetas(HashMap<String, String> metas) {
        this.metas = metas;
    }

    public TisoPostingTO getParentTO() {
        return parentTO;
    }

    public void setParentTO(TisoPostingTO parentTO) {
        this.parentTO = parentTO;
    }

    public List<TisoMediaTO> getListMediaTO() {
        return listMediaTO;
    }

    public void setListMediaTO(List<TisoMediaTO> listMediaTO) {
        this.listMediaTO = listMediaTO;
    }

    public TisoTaxonomyRelationshipTO getRel() {
        return rel;
    }

    public void setRel(TisoTaxonomyRelationshipTO rel) {
        this.rel = rel;
    }

    public TisoNamingTaxonomyTO getTisoNamingTaxonomyTO() {
        return tisoNamingTaxonomyTO;
    }

    public void setTisoNamingTaxonomyTO(TisoNamingTaxonomyTO tisoNamingTaxonomyTO) {
        this.tisoNamingTaxonomyTO = tisoNamingTaxonomyTO;
    }
}
